Skip to content

Enforce nodal in/out solvability on the vel argument, not the state. - #206

Merged
WeiqunZhang merged 1 commit into
AMReX-Fluids:developmentfrom
WeiqunZhang:fix-nodal-solvability-vel-alias
Aug 19, 2026
Merged

Enforce nodal in/out solvability on the vel argument, not the state.#206
WeiqunZhang merged 1 commit into
AMReX-Fluids:developmentfrom
WeiqunZhang:fix-nodal-solvability-vel-alias

Conversation

@WeiqunZhang

Copy link
Copy Markdown
Member

The aliases were built from m_leveldata velocity, so a caller passing a different vector had its state rescaled while the projected field kept its influx/outflux imbalance. InitialPressureProjection passes a local gravity field.

Fixes #184.

The aliases were built from m_leveldata velocity, so a caller passing a different vector had its state rescaled while the projected field kept its influx/outflux imbalance. InitialPressureProjection passes a local gravity field.

Fixes AMReX-Fluids#184.
@WeiqunZhang
WeiqunZhang merged commit fcfbb96 into AMReX-Fluids:development Aug 19, 2026
12 checks passed
@WeiqunZhang
WeiqunZhang deleted the fix-nodal-solvability-vel-alias branch August 19, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nodal projection in/out solvability rescales m_leveldata velocity instead of the vel argument

2 participants